package com.kk.demo.java8.threadstream;

import java.util.concurrent.LinkedBlockingQueue;

public class Main {

    public static void main(String[] args) {
        LinkedBlockingQueue<String> value = new LinkedBlockingQueue<>(100);

        Thread thr1 = new Thread(new Sender(value));

        thr1.start();

        Thread thr2 = new Thread(new Use(value));

        thr2.start();
    }

}
